import { defineStore } from 'pinia'

const useTabbarStore = defineStore('tabbar', {
    state: () => ({
        isTabbarShow: true,
    }),
    // 同步和异步都可以实现
    actions: {
        change(value) {
            this.isTabbarShow = value
        }
    }
})
export default useTabbarStore
